package cn.itcast.vo;

import cn.itcast.domain.cargo.Contract;
/*用于  交期到邮件提醒用户*/
public class ContractEmail{
    private String email;

    private Contract contract;


    public ContractEmail() {
    }

    public ContractEmail(String email, Contract contract) {
        this.email = email;
        this.contract = contract;
    }

    /**
     * 获取
     * @return email
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置
     * @param email
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * 获取
     * @return contract
     */
    public Contract getContract() {
        return contract;
    }

    /**
     * 设置
     * @param contract
     */
    public void setContract(Contract contract) {
        this.contract = contract;
    }

    public String toString() {
        return "ContractEmail{email = " + email + ", contract = " + contract + "}";
    }
}
